<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="description" content="高校疫情防控项目">
    <meta name="keywords" content="高校疫情防控管理系统">

    <title>高校疫情防控管理系统</title>
    <link rel="stylesheet" href="../static/common.css">
    <link rel="stylesheet" href="../static/materials.css">
</head>
<body>
<div class="left">
    <h2>高校疫情防控系统</h2>
    <ul>
        <li><a href="/homepage">首页</a></li>
        <li><a href="/loginCheck">重新登录</a></li>
        <li><a href="material3">物资调度</a> </li>
        <li><a href="/volunteer">志愿者信息</a> </li>
        <li><a href="/isolate">隔离点信息</a> </li>
        <li><a href="/doctor3">医务者信息</a> </li>
        <li><a href="/TD">密接&确诊</a> </li>
    </ul>
</div>
<div class="title">
    <h2>物资调度</h2>
</div>
<div class="right">
    <div class="first">
        <h3>查询物资情况</h3>
        <form action="/material1" method="get">
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 物资名称
            <input type="text" placeholder="请输入要查询的物资名称" name="materialName">
            <input type="submit" value="查询">
        </form>
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
         <input type="button" value="点我添加记录" class="publish">
    </div>
        <table  width="1100"  border="1" cellpadding="20" cellspacing="0" align="center">
                <tr>
                    <th>物资名</th>
                    <th>余量</th>
                    <th>购买物资总价</th>
                    <th>操作</th>
                </tr>
                <tr th:each="material:${materials}">
                    <th th:text="${material.name}">物资名</th>
                    <th th:text="${material.number}"> 余量</th>
                    <th>购买物资总价</th>
                    <th>
                        <input type="button" value="更新内容">
                        <input type="button" value="删除记录">
                    </th>
                </tr>
            </table>
    <div class="loggingData">
        <form action="/material" method="get" >
            物资名 <input type="text" name="name"><br><br>
            数量 <input type="text" name="number"><br><br>
            <a href="/doctor"><input class="submit" type="submit" value="填写完毕"></a>
        </form>
    </div>
    <script type="text/javascript" src="../static/javaScript/doctor.js"></script>
</div>
</body>
</html>